//==============================================================================
// Storehouse_anim.txt
//==============================================================================

import Construction_defines_anim.txt

//==============================================================================
define empower
{
   SetSelector
   {
      EmpowerLogic
      SetSelector
      {
         set hotspot
         {
            version
            {
               Visualnone Jimmy
            }
         }
      }
      SetSelector
      {
         set hotspot
         {
            version
            {
               Visualparticle SFX E Pharaoh Empower Small
            }
         }
      }
   }
}
//==============================================================================
define CypressA
{
   set hotspot
   {
      version
      {
         Visual Terrain G Cypressa
      }
   }  
}

//==============================================================================
define CypressB
{
   set hotspot
   {
      version
      {
         Visual Terrain G CypressB
      }
   }  
}
//==============================================================================
anim Idle
{
   SetSelector
   {
		TechLogic age 3/age 4
		SetSelector
		{
			ConstructionLogic 0 33 66
			set hotspot
			{
				version
				{
					Visual Building Beta G Storehouse
					connect Rightfoot CypressB hotspot
                                                                        connect Leftfoot CypressA hotspot
					connect Rightear CypressB hotspot
					connect ATTACHPOINT empower hotspot
				}
			}
			set hotspot
			{
				version
				{
               Visual Building Construction small A
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
               Visual Building Construction small B
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
               Visual Building G ConstructionMine
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
				}
			}
		}
		SetSelector
		{
			ConstructionLogic 0 33 66
			set hotspot
			{
				version
				{
					Visual Building Beta G Storehouse_OlympicAge
	            connect Rightear CypressB hotspot
                          connect Rightfoot CypressB hotspot
                          connect Leftfoot CypressA hotspot
					connect ATTACHPOINT empower hotspot
				}
			}
			set hotspot
			{
				version
				{
               Visual Building Construction small A
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
               Visual Building Construction small B
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
               Visual Building G ConstructionMine
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
				}
			}
		}
	}
}
//==============================================================================
anim Death
{
   SetSelector
   {
		TechLogic age 3/age 4
		SetSelector
		{
			ConstructionLogic 0 33 66
			set hotspot
			{
				version
				{
					Visual Building Beta G Storehouse_Death
	            connect Rightear CypressB hotspot
                          connect Rightfoot CypressB hotspot
                          connect Leftfoot CypressA hotspot
					connect ATTACHPOINT empower hotspot
				}
			}
			set hotspot
			{
				version
				{
               Visual Building Construction small A
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
               Visual Building Construction small B
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
               Visual Building G ConstructionMine
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
				}
			}
		}
		SetSelector
		{
			ConstructionLogic 0 33 66
			set hotspot
			{
				version
				{
					Visual Building Beta G Storehouse_OlympicAgeDeath
	            connect Rightear CypressB hotspot
                          connect Rightfoot CypressB hotspot
                          connect Leftfoot CypressA hotspot
					connect ATTACHPOINT empower hotspot
				}
			}
			set hotspot
			{
				version
				{
               Visual Building Construction small A
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
               Visual Building Construction small B
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
               Visual Building G ConstructionMine
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
				}
			}
		}
	}
}
